package cyou.breathe.handler;

import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;
import cyou.breathe.tools.SnowflakeIdUtils;

/**
 * @author: breathe
 * @createTime: 2025-06-16
 */
public class CustomIdGenerator implements IdentifierGenerator {

    @Override
    public Number nextId(Object entity) {
        return SnowflakeIdUtils.nextId();
    }
}
